#pragma once
namespace Boon
{
namespace Rendering
{

	/*!
	* Class representing channels Red, Green, Blue, Alpha
	*/
	class Color
	{
	public:
		Color()
			: r( .0f ), g( .0f ), b( .0f ), a( .0f ) { }

		Color( float R, float G, float B, float A )
			: r( R ), g( G ), b( B ), a( A ) { }

		Color( const Color& o )
			: r( o.r ), g( o.g ), b( o.b ), a( o.a ) { }

		Color& operator=( const Color& rhs )
		{ r = rhs.r; g = rhs.g; b = rhs.b; a = rhs.a; return *this; }

		inline void SetColor( float R, float G, float B, float A )
		{ r = R; g = G; b = B; a = A; }

		float r, g, b, a;
	};

}
}
